From c9880b9cb5e2a1c35c2304a4bf9c436411fc671b Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 16 May 2015 16:58:43 +0100 Subject: Fixed bad logic. --- src/Blocks/BlockSignPost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blocks/BlockSignPost.h b/src/Blocks/BlockSignPost.h index 47a6301ae..f1244394e 100644 --- a/src/Blocks/BlockSignPost.h +++ b/src/Blocks/BlockSignPost.h @@ -71,7 +71,7 @@ public: // There are 16 meta values which correspond to different directions. // These values are equated to angles on a circle; 0x08 = 180 degrees. - return (a_Meta > 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta); + return (a_Meta < 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta); } -- cgit v1.2.3